﻿<%@ page contentType="text/html;charset=GBK"%>
<%@ include file="/login/common/taglibs.jsp" %>
<%
	Cookie cookies[]=request.getCookies(); 
	Cookie sCookie = null; 
	String sname = "";
	String rmbInfo = null;
	
	if(cookies != null){
		for(int i = 0 ; i <cookies.length ; i ++ ){ 
			sCookie=cookies[i];
			String cookieName = sCookie.getName();
			if(cookieName.equals("LOGIN_USER_NAME")){
				sname = sCookie.getValue();
			}else if(cookieName.equals("LOGIN_REMEMBERINFO")){
				rmbInfo = sCookie.getValue();
			}
		}		
	}
%>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html;charset=GBK">
<!--用于设定禁止浏览器从本地机的缓存中调阅页面内容，设定后一旦离开网页就无法从Cache中再调出-->
<meta http-equiv="Pragma" content="no-cache">
<!--用于设定网页的到期时间，一旦过期则必须到服务器上重新调用。需要注意的是必须使用GMT时间格式-->
<META HTTP-EQUIV="Expires" CONTENT="-1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="/common/js/commonJs.js" type="text/javascript"></script>
<script src="/login/js/login.js" type="text/javascript"></script>
<script src="/common/js/md5.js" type="text/javascript"></script>

<title>海南省总工会会员信息管理系统</title>

<script src="${ctx}/common/js/md5.js" type="text/javascript"></script>
<script language="javascript" for="document" event="onkeydown">   
	document.onkeydown = function(evt){
			var evt = window.event?window.event:evt;
			if(evt.keyCode==13){
				sub(document.forms["systemUserForm"]);
			}
		}
</script> 

<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	overflow:hidden;
}
.STYLE3 {font-size: 14px; color: #adc9d9;font-weight: bold ; }
.STYLE4 {font-size: 12px; color: #adc9d9; }
.submitbutton{
	border-right: 0px solid;
	border-top: 0px solid;
	border-left: 0px solid;
	cursor: pointer;
	border-bottom: 0px solid;
	background-repeat: no-repeat;
	width: 57px;
	height: 20px;
	background-image: url(../login/login_images/dl.gif);
}
.czbutton{
	border-right: 0px solid;
	border-top: 0px solid;
	border-left: 0px solid;
	cursor: pointer;
	border-bottom: 0px solid;
	background-repeat: no-repeat;
	width: 57px;
	height: 20px;
	background-image: url(../login/login_images/cz.gif);
}

-->
</style></head>

<body>

<html:form action="/index.do?method=submit">

<table width="100%"  height="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td bgcolor="#1075b1">&nbsp;</td>
  </tr>
  <tr>
    <td height="608" background="${ctx}/login/login_images/login_03.gif"><table width="847" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="318" background="${ctx}/login/login_images/login_04.gif">&nbsp;</td>
      </tr>
      <tr>
        <td height="84"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="246" height="84" background="${ctx}/login/login_images/login_06.gif">&nbsp;</td>
            <td width="262" valign="middle" background="${ctx}/login/login_images/login_07.gif">



			<table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="24" valign="bottom"><div align="right"><span class="STYLE3">用户</span></div></td>
                <td width="10" valign="bottom">&nbsp;</td>
                <td height="24" colspan="3" valign="bottom" width="200">
                  <div align="left">
                    <input type="text" name="login_name" value="<%=sname%>" style="width:110px; height:20px; background-color:#87adbf; border:solid 1px #153966; font-size:14px; color:#283439; ">
					<%
						if(rmbInfo != null && rmbInfo.equals("1")){
					%>
							<input type="checkbox" name="rememberInfo" checked/><span class="STYLE4">记住用户名</span>
					<%
						}else{
					%>
							<input type="checkbox" name="rememberInfo" /><span class="STYLE4">记住用户名</span>
					<%
						}
					%>
					</div>

                  </div></td>
              </tr>
              <tr>
                <td height="24" valign="bottom"><div align="right"><span class="STYLE3">密码</span></div></td>
                <td width="10" valign="bottom">&nbsp;</td>
                <td height="24" colspan="3" valign="bottom"><input type="password" name="login_pass" value="111111" style="width:150px; height:20px; background-color:#87adbf; border:solid 1px #153966; font-size:14px; color:#283439; "></td>
              </tr>
              <tr>
                <td height="24" valign="bottom"><div align="right"><span class="STYLE3">验证码</span></div></td>
                <td width="10" valign="bottom">&nbsp;</td>
                <td height="24" width="50" valign="bottom"><div align="left">
				<input type="text" name="login_image_check" maxlength="4" size="4" value="1111" style="height:20px; background-color:#87adbf; border:solid 1px #153966; font-size:14px; color:#283439; ">
				</div>
				</td>
                <td  width="50"><div align="left" valign="middle" ><script type="text/javascript">document.write('<img id="MzImgExpPwd" alt="" src="${ctx}/index.do?method=checkImage&temp=' + (new Date().getTime().toString(36)) + '" />');</script></div></td>
				<td  valign="bottom" width="70"><div align="left"><a href="#" onclick="document.getElementById('MzImgExpPwd').src='${ctx}/index.do?method=checkImage&temp='+ (new Date().getTime().toString(36)); return false" class="STYLE4">刷新</a></div></td>
              </tr>
            </table>



			</td>
            <td width="26"><img src="${ctx}/login/login_images/login_08.gif" width="26" height="84"></td>
            <td width="67" background="${ctx}/login/login_images/login_09.gif">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="25"><div align="center">
				<input   type="button" value="" class="submitbutton" onclick="sub(this.form);">
				</div></td>
              </tr>
              <tr>
                <td height="25"><div align="center">
					<input   type="button" value="" class="czbutton" onclick="this.form.reset();">
				</div></td>
              </tr>
            </table></td>
            <td width="246" background="${ctx}/login/login_images/login_10.jpg">&nbsp;</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="206" background="${ctx}/login/login_images/login_11.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td bgcolor="#152753">&nbsp;</td>
  </tr>
</table>
</html:form>
<%@ include file="/login/common/message_alert.jsp" %>
</body>
</html>
<%
	if(session!=null){
    	session.invalidate();
    }
%>